package cn.com.nes.mybatis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface MyMapper<T> extends BaseMapper<T> {

    int logicDeleteByBusinessKey(String businessKey);

    int logicDeleteByBusinessKeyAndUpdateVersion(@Param("businessKey") String businessKey,
                                                 @Param("version") Long version);
}